inherited FPesquisaResumoEstoqueCentroCusto: TFPesquisaResumoEstoqueCentroCusto
  Caption = 'Consumo por Centro de Custo - Resumo'
  ClientHeight = 296
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel2: TPanel
    inherited BtnLimpar: TBitBtn
      OnClick = BtnLimparClick
    end
    inherited BtnImprimir: TBitBtn
      OnClick = BtnImprimirClick
    end
  end
  inherited Panel1: TPanel
    Height = 255
    object Label9: TLabel [0]
      Left = 3
      Top = 36
      Width = 38
      Height = 13
      Caption = 'Per'#237'odo'
    end
    object Label6: TLabel [1]
      Left = 93
      Top = 52
      Width = 6
      Height = 13
      Caption = 'a'
    end
    object Label16: TLabel [2]
      Left = 3
      Top = 1
      Width = 76
      Height = 13
      Caption = 'Centro de Custo'
    end
    object Label10: TLabel [3]
      Left = 3
      Top = 88
      Width = 46
      Height = 13
      Caption = 'Empresas'
    end
    object SpeedButton3: TSpeedButton [4]
      Tag = 1
      Left = 274
      Top = 15
      Width = 21
      Height = 20
      Caption = '-->'
      OnClick = SpeedButton3Click
    end
    object Label1: TLabel [5]
      Left = 297
      Top = 1
      Width = 107
      Height = 13
      Caption = 'Grupo Tipo movimento'
    end
    inherited DBGrid1: TDBGrid
      Top = 141
      Height = 93
      TabOrder = 4
      Columns = <
        item
          Expanded = False
          FieldName = 'ESTRUTURACENTRO'
          Title.Caption = 'Estrutura Centro Custo'
          Width = 139
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'DESCRICAOCENTRO'
          Title.Caption = 'Descri'#231#227'o Centro Custo'
          Width = 161
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'VALOR'
          Title.Caption = 'Valor'
          Width = 74
          Visible = True
        end>
    end
    inherited Panel3: TPanel
      Top = 234
      TabOrder = 7
    end
    object DEDataIni: TDateEdit
      Left = 3
      Top = 49
      Width = 88
      Height = 21
      NumGlyphs = 2
      TabOrder = 2
    end
    object DEDataFim: TDateEdit
      Left = 108
      Top = 48
      Width = 88
      Height = 21
      NumGlyphs = 2
      TabOrder = 3
    end
    object DBLCBCentroCusto: TDBLookupComboBox
      Left = 3
      Top = 15
      Width = 269
      Height = 21
      KeyField = 'CODIGO'
      ListField = 'DESCRICAO'
      ListSource = DSCentro
      TabOrder = 0
      OnKeyDown = DBLCBCentroCustoKeyDown
    end
    object CkBTodasEmpresas: TCheckBox
      Left = 3
      Top = 73
      Width = 118
      Height = 13
      Caption = 'Todas as Empresas'
      TabOrder = 5
      OnClick = CkBTodasEmpresasClick
    end
    object CLBEmpresas: TCheckListBox
      Left = 1
      Top = 101
      Width = 409
      Height = 40
      Align = alBottom
      Columns = 1
      ItemHeight = 13
      TabOrder = 6
    end
    object EGrupoTipoMovimentoestoque: TEdit
      Left = 297
      Top = 15
      Width = 26
      Height = 21
      MaxLength = 1
      TabOrder = 1
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      
        'Select CentroCusto.estrutura as estruturaCentro,CentroCusto.Desc' +
        'ricao as DescricaoCentro,(ItensMovEst_Quantidade * ItensMovEst_V' +
        'alorC) as Valor,TIPMOVEST_ENTRADASAIDA as EntradaSaida '
      ''
      ''
      
        'From CentroCusto inner join(TipoMovimentoEstoque Right join ( Mo' +
        'vimentoEstoque inner join ItensMovimentoEstoque on ItensMovEst_M' +
        'ovimentoEstoque = MovEst_Codigo)  on  TipMovEst_Codigo = MovEst_' +
        'TipoMovimento )  On CentroCusto.Codigo = MOVEST_Centrocusto '
      ''
      ''
      ';')
    Left = 160
  end
  object QResumoEstoque: TQuery
    DatabaseName = 'baseLocal'
    RequestLive = True
    SQL.Strings = (
      'Select * From RESUMOESTOQUECentroCusto')
    Left = 24
    Top = 160
  end
  object QAux2: TQuery
    DatabaseName = 'baseLocal'
    Left = 64
    Top = 160
  end
  object QAux: TQuery
    DatabaseName = 'base'
    Left = 104
    Top = 160
  end
  object DSCentro: TDataSource
    DataSet = DMFinanceiro.QCentro
    Left = 104
    Top = 48
  end
end
